package com.chengqs.rainbow.api.tenant;

import com.chengqs.rainbow.common.security.domain.TenantInfo;
import com.chengqs.rainbow.common.security.exception.BaseSecurityException;

/**
 * <B>主类名称：</B>TenantApi<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-07 00:10:37
 **/
public interface TenantApi {

    TenantInfo login(String username, String password) throws BaseSecurityException;

    TenantInfo loginByMobile(String mobile);
}
